import request from '@/utils/request'

export function list(query) {
  return request({
    url: '/union/shopExamine/list',
    method: 'get',
    params: query
  })
}

export function info(shopId) {
  return request({
    url: '/union/shopExamine/info/' + shopId,
    method: 'get'
  })
}

export function contract(shopId) {
  return request({
    url: '/union/shopExamine/getContract/' + shopId,
    method: 'get'
  })
}

export function verifyLog(query) {
  return request({
    url: '/union/shopExamine/getVerifyLog',
    method: 'get',
    params: query
  })
}

export function toExamine(data) {
  return request({
    url: '/union/shopExamine/toExamine',
    method: 'post',
    data: data
  })
}
